package com.dmap.officialwebsite.service.impl;

import com.dmap.officialwebsite.dao.CompanyMapper;
import com.dmap.officialwebsite.po.Company;
import com.dmap.officialwebsite.service.CompanyService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CompanyServiceImpl implements CompanyService {

    @Resource
    private CompanyMapper companyMapper;

    @Override
    public List<Company> selectAll() {
        return companyMapper.selectByExample(null);
    }

}